FROM java:8-jre-alpine
ENV TZ=Asia/Shanghai
COPY target/*.jar app.jar
RUN echo $(date) > /image_built_at
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
